package pri.black.garden.biz;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import pri.black.garden.domain.VegetablesInstanceLog;
import pri.black.garden.service.IVegetablesInstanceLogService;

/**
 * gardenBiz业务层处理
 * 
 * @author black
 * @date 2025-01-21
 */
@Service
public class VegetablesInstanceLogBiz
{
    @Autowired
    private IVegetablesInstanceLogService vegetablesInstanceLogService;

    public IVegetablesInstanceLogService getService(){
        return vegetablesInstanceLogService;
    }

    /**
     * 新增VegetablesInstanceLog
     */
    public boolean save(VegetablesInstanceLog vegetablesInstanceLog){
        return vegetablesInstanceLogService.save(vegetablesInstanceLog);//看情况提取至controller中
    }

    /**
     * 更新VegetablesInstanceLog
     */
    public boolean update(VegetablesInstanceLog vegetablesInstanceLog){
        return vegetablesInstanceLogService.updateById(vegetablesInstanceLog);
    }
}
